/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.outter;

/**
 * <p>Project: app2022 - Demo
 * <p>Powered by webrx On 2022-01-11 15:22:56
 *
* @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Demo {
    public static void main(String[] args) {
        /*
        A a = new A(){
            @Override
            int pf(int i) {
                return i*i;
            }
        };

        System.out.println(a.pf(31));*/

        //System.out.println("ok");

        B b = i -> i*i;
        System.out.println(b.pf(32));
    }
}
